package de.hsf.bp.netdoc.Spielplatz;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.FlowLayout;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JTextPane;
import java.awt.GridLayout;
import javax.swing.JLayeredPane;

public class GUISandkasten extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					GUISandkasten frame = new GUISandkasten();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public GUISandkasten() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(new GridLayout(7, 2, 0, 0));
		
		JLabel lblToCreate = new JLabel("To Create");
		contentPane.add(lblToCreate);
		
		JLabel lblDummy = new JLabel("Dummy");
		contentPane.add(lblDummy);
		
		JLabel lblToShow = new JLabel("To Show");
		contentPane.add(lblToShow);
		
		JLabel lblDummy_1 = new JLabel("Dummy");
		contentPane.add(lblDummy_1);
		
		JLabel lblHersteller = new JLabel("Hersteller");
		contentPane.add(lblHersteller);
		
		textField = new JTextField();
		contentPane.add(textField);
		textField.setColumns(10);
		
		JLabel lblModel = new JLabel("Model");
		contentPane.add(lblModel);
		
		textField_1 = new JTextField();
		contentPane.add(textField_1);
		textField_1.setColumns(10);
		
		JTextPane textPane = new JTextPane();
		contentPane.add(textPane);
		
		JButton btnCreate = new JButton("Create");
		contentPane.add(btnCreate);
		
		JButton btnView = new JButton("View");
		contentPane.add(btnView);
	}

}
